EFI: map allocation size must be set to zero
authorJan Beulich <jbeulich@suse.com>
Thu, 11 Jun 2015 12:47:54 +0000 (14:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 11 Jun 2015 12:47:54 +0000 (14:47 +0200)
commit4c94684bb7c20ff01d03fb1f22c03cc0c2fc417b
tree9e0002857bd427ddc039cc47804b00be55b2d5f4
parent1f0721377952fc038b48f175d7061ec701359aac
EFI: map allocation size must be set to zero

Commit 8a753b3f1c ("efi: fix allocation problems if ExitBootServices()
fails") replaced the use of a static (and hence zero-initialized)
variable by an automatic (and hence uninitialized) one.

Also drop the variable introduced by that commit in favor of re-using
another available and suitable one.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/common/efi/boot.c